#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QLayout>
#include <QTextEdit>
#include <QPushButton>
#include <QTextStream>
#include <QFileDialog>

#include "asmhighlighter.h"

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    QTextEdit *mainEdit;
    QTextEdit *outEdit;
    QString splitLine;
    unsigned char rom[16];
    MainWindow(QWidget *parent = 0);
    ~MainWindow();
    int run();
    void asmAndRun();
    void asmAndGetVhdlArray();
    bool getRom();
    QString getVhdlArray();
    void outputVhdlFile();
    void openAsmFile();
    void saveAsmFile();
};

#endif // MAINWINDOW_H
